#include <assert.h>
#include <stdio.h>
#include "../math/fibonacci.c"

int F[] = { 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181 };

main()
{
  int i = 0;
  for (i = 0; i < 20 ; i++) {
    printf("%d, ", F[i]);
    assert(fibo_rec(i) == F[i]);
    assert(fibo_ite(i) == F[i]);
    assert((int)fibo_binet(i) == F[i]);
  }
  puts(" OK");
}
